import java.util.Scanner;

public class Test04 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int mouth = sc.nextInt();
        int f,pair=1,f1=1;
        if (mouth ==  1){
            System.out.println("第1个月的兔子对数: 1");
        }else if (mouth == 2){
            System.out.println("第2个月的兔子对数: 1");
        }else {
            for(int last = 3; last <= mouth; last++) {
                f = pair;
                pair = f1 + pair;
                f1 = f;
                System.out.print("第" + last +"个月的兔子对数: "+pair);
                System.out.println("   数量为: "+pair*2);
            }
        }
    }
}
